#!/bin/bash
set -e
dmesg -c > /dev/null
./defy-launch.sh reset build launch
./createlevel chase1 pass1
echo "This is a test file" > /mnt/nandyaffs/chase1/test.txt
./defy-launch.sh
./openlevel chase1 pass1
#umount /mnt/nandyaffs
#nanddump -f dump.txt /dev/mtd0
#dmesg